package com.chinasoft.ui;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;

/**
 * @author 中软zhang
 * @create 2023-07-24 16:42
 */
public class TestOpenFile {
    public static void main(String[] args) throws FileNotFoundException {
//        FileInputStream fis = new FileInputStream("./src/main/resources/image/person01.png");
//        FileInputStream fis = new FileInputStream("src/main/resources/image/person01.png");
//        System.out.println(fis);
        InputStream is = TestOpenFile.class.getResourceAsStream("/image/person01.png");
        System.out.println(is);
    }
}
